<?php
defined('ANT_ACCESS') or die('Access denided');
/**
 * Ant Framework
 *
 * An open source application development framework for PHP 5
 *
 * @package		Ant Framework
 * @author		Meshin Dmitriy
 * @copyright	Copyright (c) 2008, Meshin Dmitriy
 * @license		GNU Public Lisence v2
 * @link		http://code.google.com/p/ant-framework
 * @desc		Child controller
 **/
	class blog extends controller
	{
		function __construct(){
			parent::__construct();
		}
		
		public function index(){
			//	загружаем шаблон
			$data['test_data'] = array('varname' => 'index');
			/*$this->loader->library('testclass', FALSE);*/
			//$this->testclass->out();
			$this->view->load('blog', $data);
		}
		
		//	защищённая функция
		protected function protect(){
			$data['test_data'] = array('varname' => 'PROTECTED');
			$this->view->load('blog', $data);
		}
	}
?>